package com.example.poverty.entity;

import java.io.Serializable;
import java.util.Date;

public class LeaveManagement implements Serializable {

    //    主键
    private Integer id;
    //    请家人姓名
    private String name;
    //    开始时间
    private Date startTime;
    //    结束时间
    private Date endTime;
    //    请假原因
    private String reasonLeave;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getReasonLeave() {
        return reasonLeave;
    }

    public void setReasonLeave(String reasonLeave) {
        this.reasonLeave = reasonLeave;
    }

    @Override
    public String toString() {
        return "LeaveManagement{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", reasonLeave='" + reasonLeave + '\'' +
                '}';
    }
}
